public class MethodDemo2 {
	
	public static void main(String[] args){
		
		int i = 5;
		changeVal(i);
		System.out.println(i);
			
	}
	
	public static void changeVal(int i){
		i++;
	}
	
}